import VueRouter from "vue-router";
import Vue from "vue";
import Routes from "./routes";
Vue.use(VueRouter);
console.log(Routes);

const router = new VueRouter({
  routes: Routes,
});
router.beforeEach((to, from, next) => {
  // console.log(to, from, next);
  next();
});
export default router;
